package com.neusoft.crm.mapper;

import com.neusoft.crm.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lplpok
 * @since 2023-06-19
 */
public interface ProductMapper extends BaseMapper<Product> {
//    @Select("  SELECT *\n" +
//            "        FROM product\n" +
//            "        LIMIT #{index},#{pagesize}")
    List<Product> getPageList(int index, int pagesize);

}

